Ext.define('KMA.view.environment.InformePlatoLayout',{
    extend: 'Ext.panel.Panel',
    widget: 'alias.informeplatolayout',
    
    initComponent: function(){
        var form = Ext.create('KMA.view.forms.PlatosArmados',{});
        this.width = '100%';
        this.height = 1000;
        this.border = '0 0 0 0';
        this.bodyStyle = 'background-color:#dfe8f5;';
        this.bodyPadding = 5;
        this.layout = {
            type: 'column',
            padding: 5
        };
        this.defaults = {
          border: 0,
          padding: 5
        },
        this.items = [
            {itemId: 'insertGridPlatosArmadosHere',columnWidth: .84, html: '<div style="color: red; margin:  0px auto;">Por favor, realice una consulta para mostrar la tabla de resultados.</div>', bodyStyle: 'background-color:#dfe8f5;'},
            {itemId: 'formGridPlatosArmados', columnWidth: .16, items: form, bodyStyle: 'background-color:#dfe8f5;'}
        ];
        this.callParent(arguments);
    }
    
});